![]() |
PBGetEOFSync |
||||
Header: | Files.h | Carbon status: | Supported | |
Determines the current logical end-of-file of an open file.
OSErr PBGetEOFSync ( ParmBlkPtr paramBlock );
A pointer to a basic File Manager parameter block.
A result code.
The relevant fields of the parameter block are:
On input, a pointer to a completion routine.
On output, the result code of the function.
On input, a file reference number for the file whose logical end you wish to determine.
On output, the logical end-of-file. Because ioMisc is of type Ptr, you’ll need to coerce the value to type LongInt to interpret the value correctly.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)